home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / hp904905 / admin.z / admin / help / C / online0516.hlp < prev    next >
Text File  |  1998-06-30  |  14KB  |  378 lines

  1.  
  2.     MULTI-USER ADD
  3.  
  4.     You must first create a text file before you can use this program
  5.     properly. Each line is the record for one user account. See "Record
  6.     Format" on page 4-13 for details on creating this file.
  7.  
  8.     The rest of this subsection describes the functionality of this
  9.     window's fields and buttons.
  10.  
  11.     Fields
  12.  
  13.     This window contains the following fields:
  14.  
  15.     Filename of Accounts DB
  16.  
  17.     Use this field to specify which database file contains the user
  18.     account information.
  19.  
  20.     Hostnames
  21.  
  22.     If you want to limit this user's access to specific hostnames within
  23.     a pool, enter those hostnames in this field. If you are entering
  24.     multiple entries, leave a blank between each entry. You can also use
  25.     the arrow button to the right to select the available hosts from the
  26.     current pool.
  27.  
  28.     Starting User ID Number
  29.  
  30.     If the Userid field (field #5) is left blank in any of the records,
  31.     Enlighten will assign the first available (unique) Userid found
  32.     (higher than the UID entered in this field). Click on the arrow
  33.     button on the right to view the already assigned UserID's. A pop-up
  34.     menu will appear with a current list of UserID's. Highlight the
  35.     desired ID number and then click on the Apply button. Enlighten will
  36.     automatically insert the starting Userid into the appropriate
  37.     record.
  38.  
  39.     Default User Group
  40.  
  41.     If the GroupID Number field (field #6) is left blank in any of the
  42.     records, Enlighten will use this field to assign those users a
  43.     default Group Name. Click on the arrow button on the right to view a
  44.     current list of User Groups. Highlight the desired entry in the
  45.     pop-up menu and then click on the Apply button to make the
  46.     selection. Enlighten will automatically insert the Group Name into
  47.     the appropriate record.
  48.  
  49.     Default Home directory
  50.  
  51.     If the Home Directory field (field #7) is left blank in any of the
  52.     records, Enlighten will use this field to assign those users a
  53.     default Home directory. Use the full path name of the parent
  54.     directory where all user's HOME directories will be created.
  55.  
  56.     If you specify a HOME directory which does not exist, Enlighten
  57.     creates and initializes it. Enlighten initializes the HOME directory
  58.     by executing the HOME directory initialization script
  59.     $ENLIGHTEN/scripts/user.rc. This copies the initialization files
  60.     (e.g., .profile and .cshrc) into the HOME directory. You can modify
  61.     this script to perform other initialization procedures. These
  62.     procedures are not done on the Windows NT platform. It will generate 
  63.     an error if the directory doesn't exist on a NT system.
  64.  
  65.     Windows style paths may also be entered, e.g. c:\users\charlie.
  66.     However, this path will be converted to //c/users/charlie on any
  67.     UNIX platform that is in the current hostnames selection field or
  68.     in the current pool. This can be changed by entering two paths.
  69.     The following examples show valid entries:
  70.  
  71.             c:\users\charlie|/home/charlie
  72.             /home/charlie|c:\users\charlie
  73.             /home/charlie|\users\charlie
  74.  
  75.     The symbol '|' is the pathname delimiter. Only one can occur in the
  76.     field. Each individual pathname must not contain both '/' and '\'. 
  77.     A zero length pathname is an error condtion.
  78.  
  79.     You may also use macros in this field, see "User Account Macros" on
  80.     page J-2 for more details.
  81.  
  82.     Default Startup Shell
  83.  
  84.     If the Shell field (field #8) is left blank in any of the records,
  85.     Enlighten will use this field to assign those users a default shell.
  86.     Click on the arrow button on the right to view a current list of
  87.     shells. Highlight the desired entry in the pop-up menu and then
  88.     click on the Apply button to make the selection. Enlighten will
  89.     automatically insert the shell name into the appropriate record.
  90.  
  91.     Mail Alias
  92.  
  93.     This field specifies the default mail alias the account will use. An
  94.     alias designates a short name as the substitute for the full
  95.     pathname for a particular user or group. You may also use macros in
  96.     this field, see "User Account Macros" on page J-2 for more details.
  97.  
  98.     Mail Lists
  99.  
  100.     This field specifies which mailing lists will be updated to include
  101.     this user. A mail list defines a group of people under one alias, so
  102.     sending mail to that alias will distribute a copy everyone on that
  103.     list. Click on the arrow button for a pick list of defined Mail
  104.     Lists.
  105.  
  106.     Default Password Configuration
  107.  
  108.     When a user is created in UNIX, he or she must be assigned a
  109.     password. If the password field (field #9) is left blank in the
  110.     database record, the system must be told which method to use to
  111.     create a password. Choose one of the following options as the
  112.     default:
  113.  
  114.     + Add all users with the same initial password (the default)
  115.     + Generate random password for each user
  116.     + Password same as user name
  117.  
  118.     Initial Password
  119.  
  120.     Use this field if you choose to add all users with the same initial
  121.     password. Enter the password to be assigned to all the user accounts
  122.     created from this process. Remember to check later and make sure
  123.     each new user has changed his initial password. You may also use
  124.     macros in this field, see "User Account Macros" on page J-2 for more
  125.     details.
  126.  
  127.     Password to expire
  128.  
  129.     For systems that support password aging, this optional field
  130.     contains the time when the password will expire. Once a password has
  131.     expired, the system will force the user to change their password the
  132.     next time they login to the system.
  133.  
  134.     If this field is left blank, the appropriate default parameter will
  135.     be used. If no default is set in the User Add window (when you're
  136.     adding a user), password aging will be turned off for that user. For
  137.     more details.
  138.  
  139.     See "TIME FORMATS" at bottom of help page.
  140.  
  141.     Span between changes
  142.  
  143.     In conjunction with the Expires field, this field defines the
  144.     minimum period of time which needs to elapse before the user can
  145.     change his or her password. You can, however, change the user's
  146.     password at any time via Enlighten.
  147.  
  148.     See "TIME FORMATS" at bottom of help page.
  149.  
  150.     Buttons
  151.  
  152.     This window contains the following buttons.
  153.  
  154.     Add
  155.  
  156.     Once you've entered the relevant information, click on the Add
  157.     button to start the user account creation process. Enlighten first
  158.     checks all field entries are valid and then starts creating the new
  159.     user accounts.
  160.  
  161.     Enlighten will then output a list of generated passwords after all
  162.     the accounts have been created. Click on the Print button if you
  163.     want to print the list.
  164.  
  165.     Clear Fields
  166.  
  167.     Click on this button to clear the existing choices in all fields.
  168.  
  169.     Template
  170.  
  171.     Click on this button for a pick list of defined New User Templates.
  172.     You can use one of this templates to populate default values in the
  173.     new user's account, make any necessary changes, and then Add the
  174.     user. Only those field which are currently blank (in the Create New
  175.     User Account window) will be initialized from your selected
  176.     template.
  177.  
  178.     Close
  179.  
  180.     Click on this button to discard any changes and close the window.
  181.  
  182.     USER ACCOUNT MACROS
  183.  
  184.     You can use macros to help initialize the form fields when you
  185.     create a User Account. You can enter these macros manually. Or you
  186.     can have them fill (some of) the form fields automatically by first
  187.     defining them in a New User Template and using that template when
  188.     you create the user account.
  189.  
  190.     The following types of fields accept macros in these two windows:
  191.  
  192.     + Login Name
  193.     + Home dir.
  194.     + Password
  195.     + Mail Alias
  196.  
  197.     For working examples, see "Macro Name" on page J-3.
  198.  
  199.     Format
  200.  
  201.     A macro has the following format:
  202.  
  203.         %<Modifiers><Macro Name>
  204.  
  205.     Modifiers
  206.  
  207.     <Modifiers> are optional (you can define them multiple times). You
  208.     can use the <Modifiers> to specify only specific parts of the field,
  209.     such as the first letter of the field, or to manipulate and convert
  210.     the given input.
  211.  
  212.     A modifier has the following format:
  213.  
  214.  
  215.     [<Converter><Range>]
  216.  
  217.     where <Converter> is one or more of the following characters:
  218.  
  219.         l - Convert the resulting string to lower case
  220.         L - Same as `l'
  221.         u - Convert the resulting string to upper case
  222.         U - Same as `u'
  223.         s - Do not include SPACEs
  224.         _ - Replace SPACEs with underscores (_)
  225.  
  226.     and the <Range> applies to the complete string in the field (by
  227.     default). Or you can apply a range to a specific word in the input
  228.     string.
  229.  
  230.     Consequently, a <Range> has the following format:
  231.  
  232.         $<word number><Character Range>
  233.  
  234.     where <word number> shows the word's sequence in the string (this is
  235.     optional). The first word would be addressed as $1, the second word
  236.     as $2, and so on. You can also use $0 to address the first word.
  237.  
  238.     <Character Range> is a comma separated list of character ranges in
  239.     the form. If you specify a <word number>, you must first use a comma
  240.     (`,') in the range list.
  241.  
  242.     The character range itself has the following format:
  243.  
  244.         <start char>-<end char>
  245.  
  246.     where <start char> and <end char> are character numbers. You can
  247.     omit one end of the range to signify the "start of string" and "end
  248.     of string" respectively. Ranges which go beyond the end of the
  249.     string are truncated to match the string.
  250.  
  251.     Macro Name
  252.  
  253.     <Macro Name> is one of the following characters:
  254.  
  255.         g - replace with the users' GID
  256.         u - replace with the users' UID
  257.         G - replace with the users' group name
  258.         U - replace with the users' login name (username)
  259.         R - replace with data from the users' Real Name field
  260.         O - replace with date from the users' Office field
  261.         T - replace with date from the users' Telephone field
  262.  
  263.     Examples
  264.  
  265.     These definitions make more sense when they are viewed as examples.
  266.     Assume for the following example, the following data is true:
  267.  
  268.         Real Name: Thomas Kraus
  269.         Login Name: tmk
  270.         UID: 302
  271.  
  272.     You could then define the following macros and see the following
  273.     substitutions.
  274.  
  275.         Field Name   Macro               Value
  276.         -------------------------------------------
  277.         Home Dir     /home/%U           /home/tmk
  278.         Password     %U-%u              tmk-302
  279.         Mail Alias   %[u$1]R_%[u$2]R    THOMAS_KRAUS
  280.         Login Name   %[l$1,1][l$2,-6]   tkraus
  281.  
  282.     Some explanations:
  283.  
  284.     /home/%U Create the directory /home/<login name>
  285.  
  286.     %U-%u Get the User name and add the UID (separated by a dash)
  287.  
  288.     %[u$1]R_%[u$2]R Get the first word of the users' real name and add
  289.     the second word of the user's real name (separated by an
  290.     underscore). Convert both strings to upper case.
  291.  
  292.     %[l$1,1][l$3,-6]R Take the first letter of the users first name and
  293.     the first six letters of the users' last name. Convert both strings
  294.     to lower case.
  295.  
  296.  
  297.     Record Format
  298.  
  299.     The format for each record in the text file is:
  300.  
  301.         Field # Description        Comment
  302.  
  303.          1      Login Name         Mandatory
  304.          2      User Real Name     Mandatory
  305.          3      Office             Optional
  306.          4      Telephone          Optional
  307.          5      Userid Number      Optional
  308.          6      Groupid Number     Optional
  309.          7      Home Directory     Optional
  310.          8      Shell              Optional
  311.          9      Password           Optional
  312.  
  313.     Each record (line) in the file represents one user. Each user can
  314.     have up to nine fields in the record. Use a comma (,) to separate
  315.     each field specified. Each record is terminated with a carriage
  316.     return (<CR>). There is no limit to the amount of records you can
  317.     specify in the file.
  318.  
  319.     The following example sets the account details for five people.
  320.  
  321.         fred,The Fredster
  322.         barney,The Barnarama,Head office
  323.         wilma,Wilma Fraglerock,,233-7625
  324.         betty,Betty Boomrock,,,401,other
  325.         bambam,Boom,,,403,other,/usr/bambam,/bin/sh,bedrock
  326.     
  327.  
  328.     TIME FORMATS
  329.  
  330.     There are several fields throughout the Enlighten product where you
  331.     can specify a date/time format. For each of these fields, you can
  332.     specify the date and/or time period in two ways: absolutely or
  333.     relatively.
  334.  
  335.     The first is as a static period, where the period entered is the
  336.     absolute period used in the search. This is the only way to search
  337.     for a combined date/time format. To look for a file created since
  338.     May 10, 1996 at 12 noon, you could use the entry: May 10 96 at
  339.     12:00.
  340.  
  341.     The second is a relative period, where the period entered is set
  342.     against the current system clock time and then applied during the
  343.     search. This is strictly a time OR date format, e.g., 2 seconds or 1
  344.     month. To find users who have been logged in during the last three
  345.     days, you could use the entry: 3 days.
  346.  
  347.     Either way, the format is case-insensitive. For example, you could
  348.     use JAN, Jan, or jan as the abbreviation for the month of January.
  349.     This appendix shows all the BNF time measurements in initial caps
  350.     (e.g., Jan or January, 2 Sec or 2 Seconds, etc.).
  351.  
  352.     Some typical uses of the static format in a Date search field are:
  353.  
  354.     Absolute: 15 1996 (defaults to the current month)
  355.  
  356.         Jan 1 97
  357.         July 4 (defaults to the current year)
  358.  
  359.     Some additional uses of the absolute format in a Time search field
  360.     are:
  361.  
  362.         June 15 at 3 PM (defaults to the current year)
  363.         June 16 at 2AM (defaults to the current year)
  364.         June 17 96 at 15:31
  365.         18 at 9:31:14 AM (defaults to current month AND year)
  366.  
  367.     Some typical uses of the relative format in a Date search field are:
  368.  
  369.         Relative: 1 second
  370.  
  371.         5 Min
  372.         1 day
  373.         2 weeks
  374.         1 Year
  375.  
  376.     The rest of this appendix defines the time formats you can use
  377.     whenever you fill in a date and/or time field.
  378.